<template>
<!-- 配置支持的借款周期模态框 -->
    <div>  
            <el-form :model="ruleForm" label-width="180px" class="demo-ruleForm" label-position="left">
                <el-form-item v-for="(item,index) in time" :key="index" :label="item.label" prop="resource">
                    <el-radio-group v-model="ruleForm.resource">
                        <el-radio label="支持"></el-radio>
                        <el-radio label="不支持"></el-radio>
                    </el-radio-group>
                </el-form-item>
            </el-form>
    </div>
</template>
<script>
    export default {
        data() {
            return {
                ruleForm: {
                    resource: '',
                     resource1: '1',
              
                },
                time:[{
                    label:'7天'
                },{
                    label:'14天'
                }]
            };
        },
        methods: {}
    };
</script>
<style lang="scss">
    .el-form-item {
        margin-bottom: 5px !important;
    }
     .el-radio__input.is-checked .el-radio__inner {
        border-color: #009688 !important;
        background: #009688 !important;
    }
    .el-radio__input.is-checked+.el-radio__label {
        color: #009688 !important;
    }
</style>
